﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BD5 RID: 3029
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolySelectOptionScRsp : IMessage<MonopolySelectOptionScRsp>, IMessage, IEquatable<MonopolySelectOptionScRsp>, IDeepCloneable<MonopolySelectOptionScRsp>, IBufferMessage
	{
		// Token: 0x17002622 RID: 9762
		// (get) Token: 0x06008772 RID: 34674 RVA: 0x00167AB3 File Offset: 0x00165CB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolySelectOptionScRsp> Parser
		{
			get
			{
				return MonopolySelectOptionScRsp._parser;
			}
		}

		// Token: 0x17002623 RID: 9763
		// (get) Token: 0x06008773 RID: 34675 RVA: 0x00167ABA File Offset: 0x00165CBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolySelectOptionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002624 RID: 9764
		// (get) Token: 0x06008774 RID: 34676 RVA: 0x00167ACC File Offset: 0x00165CCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolySelectOptionScRsp.Descriptor;
			}
		}

		// Token: 0x06008775 RID: 34677 RVA: 0x00167AD3 File Offset: 0x00165CD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySelectOptionScRsp()
		{
		}

		// Token: 0x06008776 RID: 34678 RVA: 0x00167AE8 File Offset: 0x00165CE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySelectOptionScRsp(MonopolySelectOptionScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.pJJIHAOIDLL_ = other.pJJIHAOIDLL_.Clone();
			this.lHMKHBFOLHE_ = ((other.lHMKHBFOLHE_ != null) ? other.lHMKHBFOLHE_.Clone() : null);
			this.eventId_ = other.eventId_;
			this.optionId_ = other.optionId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008777 RID: 34679 RVA: 0x00167B5D File Offset: 0x00165D5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolySelectOptionScRsp Clone()
		{
			return new MonopolySelectOptionScRsp(this);
		}

		// Token: 0x17002625 RID: 9765
		// (get) Token: 0x06008778 RID: 34680 RVA: 0x00167B65 File Offset: 0x00165D65
		// (set) Token: 0x06008779 RID: 34681 RVA: 0x00167B6D File Offset: 0x00165D6D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17002626 RID: 9766
		// (get) Token: 0x0600877A RID: 34682 RVA: 0x00167B76 File Offset: 0x00165D76
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<HHGENHNPJGI> PJJIHAOIDLL
		{
			get
			{
				return this.pJJIHAOIDLL_;
			}
		}

		// Token: 0x17002627 RID: 9767
		// (get) Token: 0x0600877B RID: 34683 RVA: 0x00167B7E File Offset: 0x00165D7E
		// (set) Token: 0x0600877C RID: 34684 RVA: 0x00167B86 File Offset: 0x00165D86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ADNEJCJKBNF LHMKHBFOLHE
		{
			get
			{
				return this.lHMKHBFOLHE_;
			}
			set
			{
				this.lHMKHBFOLHE_ = value;
			}
		}

		// Token: 0x17002628 RID: 9768
		// (get) Token: 0x0600877D RID: 34685 RVA: 0x00167B8F File Offset: 0x00165D8F
		// (set) Token: 0x0600877E RID: 34686 RVA: 0x00167B97 File Offset: 0x00165D97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x17002629 RID: 9769
		// (get) Token: 0x0600877F RID: 34687 RVA: 0x00167BA0 File Offset: 0x00165DA0
		// (set) Token: 0x06008780 RID: 34688 RVA: 0x00167BA8 File Offset: 0x00165DA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OptionId
		{
			get
			{
				return this.optionId_;
			}
			set
			{
				this.optionId_ = value;
			}
		}

		// Token: 0x06008781 RID: 34689 RVA: 0x00167BB1 File Offset: 0x00165DB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolySelectOptionScRsp);
		}

		// Token: 0x06008782 RID: 34690 RVA: 0x00167BC0 File Offset: 0x00165DC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolySelectOptionScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.pJJIHAOIDLL_.Equals(other.pJJIHAOIDLL_) && object.Equals(this.LHMKHBFOLHE, other.LHMKHBFOLHE) && this.EventId == other.EventId && this.OptionId == other.OptionId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008783 RID: 34691 RVA: 0x00167C44 File Offset: 0x00165E44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.pJJIHAOIDLL_.GetHashCode();
			if (this.lHMKHBFOLHE_ != null)
			{
				num ^= this.LHMKHBFOLHE.GetHashCode();
			}
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this.OptionId != 0U)
			{
				num ^= this.OptionId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008784 RID: 34692 RVA: 0x00167CD9 File Offset: 0x00165ED9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008785 RID: 34693 RVA: 0x00167CE1 File Offset: 0x00165EE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008786 RID: 34694 RVA: 0x00167CEC File Offset: 0x00165EEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lHMKHBFOLHE_ != null)
			{
				output.WriteRawTag(42);
				output.WriteMessage(this.LHMKHBFOLHE);
			}
			if (this.OptionId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.OptionId);
			}
			this.pJJIHAOIDLL_.WriteTo(ref output, MonopolySelectOptionScRsp._repeated_pJJIHAOIDLL_codec);
			if (this.EventId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.EventId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008787 RID: 34695 RVA: 0x00167D90 File Offset: 0x00165F90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.pJJIHAOIDLL_.CalculateSize(MonopolySelectOptionScRsp._repeated_pJJIHAOIDLL_codec);
			if (this.lHMKHBFOLHE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LHMKHBFOLHE);
			}
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this.OptionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OptionId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008788 RID: 34696 RVA: 0x00167E2C File Offset: 0x0016602C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolySelectOptionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.pJJIHAOIDLL_.Add(other.pJJIHAOIDLL_);
			if (other.lHMKHBFOLHE_ != null)
			{
				if (this.lHMKHBFOLHE_ == null)
				{
					this.LHMKHBFOLHE = new ADNEJCJKBNF();
				}
				this.LHMKHBFOLHE.MergeFrom(other.LHMKHBFOLHE);
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			if (other.OptionId != 0U)
			{
				this.OptionId = other.OptionId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008789 RID: 34697 RVA: 0x00167ECD File Offset: 0x001660CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600878A RID: 34698 RVA: 0x00167ED8 File Offset: 0x001660D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 80U)
				{
					if (num == 42U)
					{
						if (this.lHMKHBFOLHE_ == null)
						{
							this.LHMKHBFOLHE = new ADNEJCJKBNF();
						}
						input.ReadMessage(this.LHMKHBFOLHE);
						continue;
					}
					if (num == 80U)
					{
						this.OptionId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 90U)
					{
						this.pJJIHAOIDLL_.AddEntriesFrom(ref input, MonopolySelectOptionScRsp._repeated_pJJIHAOIDLL_codec);
						continue;
					}
					if (num == 96U)
					{
						this.EventId = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003389 RID: 13193
		private static readonly MessageParser<MonopolySelectOptionScRsp> _parser = new MessageParser<MonopolySelectOptionScRsp>(() => new MonopolySelectOptionScRsp());

		// Token: 0x0400338A RID: 13194
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400338B RID: 13195
		public const int RetcodeFieldNumber = 14;

		// Token: 0x0400338C RID: 13196
		private uint retcode_;

		// Token: 0x0400338D RID: 13197
		public const int PJJIHAOIDLLFieldNumber = 11;

		// Token: 0x0400338E RID: 13198
		private static readonly FieldCodec<HHGENHNPJGI> _repeated_pJJIHAOIDLL_codec = FieldCodec.ForMessage<HHGENHNPJGI>(90U, HHGENHNPJGI.Parser);

		// Token: 0x0400338F RID: 13199
		private readonly RepeatedField<HHGENHNPJGI> pJJIHAOIDLL_ = new RepeatedField<HHGENHNPJGI>();

		// Token: 0x04003390 RID: 13200
		public const int LHMKHBFOLHEFieldNumber = 5;

		// Token: 0x04003391 RID: 13201
		private ADNEJCJKBNF lHMKHBFOLHE_;

		// Token: 0x04003392 RID: 13202
		public const int EventIdFieldNumber = 12;

		// Token: 0x04003393 RID: 13203
		private uint eventId_;

		// Token: 0x04003394 RID: 13204
		public const int OptionIdFieldNumber = 10;

		// Token: 0x04003395 RID: 13205
		private uint optionId_;
	}
}
